#include "DiagramFam.h"

DiagramFam::DiagramFam(UMLDiagram* diagram, QWidget* canvasParent,
		const QString& name)
:	_diagram(diagram), _canvas(diagram, canvasParent),
	_name(name)
{
}

UMLDiagram& DiagramFam::diagram()
{
	return *_diagram;
}

UMLCanvas& DiagramFam::canvas()
{
	return _canvas;
}

Acceptor& DiagramFam::acceptor()
{
	return _acceptor;
}

const QString& DiagramFam::name() const
{
	return _name;
}

